<template>
  <div class="LoginPage">
    <h1>问卷系统</h1>
    <div>
      用户名&nbsp;<el-input
        v-model="input1"
        style="width: 290px; height: 50px; font-size: 25px"
        placeholder="Please input"
        clearable
        autofocus
      />
    </div>
    <div style="line-height: 80px; margin-top: 30px">
      密码<el-input
        v-model="input2"
        style="width: 290px; height: 50px; font-size: 25px; margin-left: 39px"
        type="password"
        placeholder="Please input password"
        show-password
      />
    </div>
    <RouterLink to="/HomePage">
      <el-button type="primary" class="button-login">登录</el-button>
    </RouterLink>
    <RouterLink to="/RegisterPage">
      <el-button type="primary" class="button-login" style="margin-left: 80px">注册</el-button>
    </RouterLink>
  </div>
</template>

<script setup>
import { ref } from 'vue'
const input1 = ref('')
const input2 = ref('')
</script>

<style lang="less" scoped>
.LoginPage {
  text-align: center;
  font-size: 30px;
  h1 {
    text-align: center;
    font-size: 100px;
  }
  .button-login {
    width: 100px;
    height: 40px;
    font-size: 20px;
    margin-top: 40px;
  }
}
</style>